package com.cos.openapi.entity;

import java.io.Serializable;

public class AppInfo implements Serializable {
    private Integer id;

    private String corpname;

    private String appname;

    private String appkey;

    private String appsecret;

    private String redirecturl;

    private Integer limit;

    private String description;

    private Integer cusid;

    private Short state;

    private static final long serialVersionUID = 1L;

    public AppInfo(Integer id, String corpname, String appname, String appkey, String appsecret, String redirecturl, Integer limit, String description, Integer cusid, Short state) {
        this.id = id;
        this.corpname = corpname;
        this.appname = appname;
        this.appkey = appkey;
        this.appsecret = appsecret;
        this.redirecturl = redirecturl;
        this.limit = limit;
        this.description = description;
        this.cusid = cusid;
        this.state = state;
    }

    public AppInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCorpname() {
        return corpname;
    }

    public void setCorpname(String corpname) {
        this.corpname = corpname == null ? null : corpname.trim();
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname == null ? null : appname.trim();
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey == null ? null : appkey.trim();
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret == null ? null : appsecret.trim();
    }

    public String getRedirecturl() {
        return redirecturl;
    }

    public void setRedirecturl(String redirecturl) {
        this.redirecturl = redirecturl == null ? null : redirecturl.trim();
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getCusid() {
        return cusid;
    }

    public void setCusid(Integer cusid) {
        this.cusid = cusid;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}